<template>
  <view class="seat" :style="{height:Height+'px'}"></view>
</template>

<script>
export default {
    data(){
        return {
             Height:0
        }
       
    },
    props:{
        minHeigt:{
            type:Number,
            default:10
        }
    },
    mounted() {
			let _this = this;
			uni.getSystemInfo({
				success: res => {
					_this.Height = res.safeAreaInsets.bottom + this.minHeigt;
				},
				fail(err) {
                    _this.Height = minHeigt;
				}
			})
		
		
	},
}
</script>

<style lang="scss">
.seat{
    width: 100%;
}
</style>